<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.rapid-framework.org.cn/rapid" prefix="rapid" %>
<rapid:override name="head">
    <title>个人资料</title>
    <style>

    </style>
</rapid:override>
<rapid:override name="content">
    <%
        String path = request.getContextPath();
        String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    %>
    <table class="layui-table" style="margin:80px auto 0px auto; max-width: 500px; align-self: center; background-color: rgba(0,0,0,0);
        color: #000;">
<%--        <colgroup>--%>
<%--            <col width="200">--%>
<%--            <col width="250">--%>
<%--        </colgroup>--%>
        <tbody>
        <tr style="height:40px;">
            <td>教师号</td>
            <td>${teacher.teaId}</td>
        </tr>
        <tr>
            <td>姓名</td>
            <td>${teacher.teaName}</td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <button class="layui-btn layui-btn-danger  layui-btn-lg" onclick="change()" style="margin:0 auto 0 auto; display: inline-block">
                    修改密码
                </button>
            </td>

        </tr>
        </tbody>
    </table>

    <script>
        function change() {
            window.location.href="<%=basePath%>teacher/editTeaPass";
        }
    </script>
</rapid:override>
<%@ include file="base.jsp" %>
